package com.itheima.mybackstudy.studyneibulei;

public class Test {
    public static void main(String[] args) {
        //创建外部类对象
        Outer ooo=new Outer();

        System.out.println(ooo.name);
        System.out.println("--------");
        //创建内部类对象
        //外·内
        Outer.Inner oi=new Outer().new Inner();
        System.out.println(oi.name);
        System.out.println("----------");
        oi.show();
        Outer1 o=new Outer1();
        o.say();

    }
}
